<?xml version='1.0' encoding='UTF-8' ?> 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"      
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:icecore="http://www.icefaces.org/icefaces/core"
      xmlns:ace="http://www.icefaces.org/icefaces/components"
      xmlns:ice="http://www.icesoft.com/icefaces/component">
    <h:head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <title>#{pageName}</title>

        <!-- CSS -->
<!--        <link href="#{request.contextPath}/resources/style/css/transdmin.css" rel="stylesheet" type="text/css" media="screen" />-->
        <ice:outputStyle href="#{request.contextPath}/xmlhttp/css/rime/rime.css"/>
        <ice:outputStyle href="#{request.contextPath}/resources/styles/css/transdmin.css"/>
        <ice:outputStyle href="#{request.contextPath}/resources/styles/dockbutton.css"/>
        <ice:outputStyle href="#{request.contextPath}/resources/styles/dock.css"/>
        <ice:outputStyle href="#{request.contextPath}/resources/styles/verticaltabs.css" />
        <!--[if IE 6]><link rel="stylesheet" type="text/css" media="screen" href="style/css/ie6.css" /><![endif]-->
        <!--[if IE 7]><link rel="stylesheet" type="text/css" media="screen" href="style/css/ie7.css" /><![endif]-->

        <!-- JavaScripts-->
        <script type="text/javascript" src="#{request.contextPath}/resources/javascript/verticaltab/verticaltabs.pack.js"></script>
        <script type="text/javascript" src="#{request.contextPath}/resources/style/js/jquery.js"></script>
        <script type="text/javascript" src="#{request.contextPath}/resources/style/js/jNice.js"></script>
        <script type="text/javascript" src="#{request.contextPath}/resources/javascript/jquery-1.4.2.min.js"></script>
        <script type="text/javascript" src="#{request.contextPath}/resources/javascript/dock/dock.js"></script>
    </h:head>
    <h:body>
        
        <div id="wrapper">
            <!-- h1 tag stays for the logo, you can use the a tag for linking the index page -->
            <h1><a href="#"></a></h1>

            <!-- You can name the links with lowercase, they will be transformed to uppercase by CSS, we prefered to name them with uppercase to have the same effect with disabled stylesheet -->
            <ul id="mainNav">
                <li><a href="#" class="active">DASHBOARD</a></li> <!-- Use the "active" class for the active menu item  -->
                <li><a href="#">ADMINISTRATION</a></li>
                <li><a href="#">DESIGN</a></li>
                <li><a href="#">OPTION</a></li>
                <li class="logout">
                    <ui:include src="/WEB-INF/facelets/base/login/Inputs.xhtml"/>
                </li>
            </ul>
            <ui:insert name = "contents"/>
            <!-- // #end mainNav -->
            <div id="containerHolder">
                <div id="container">
                    <div id="sidebar">
                        <ul class="sideNav">
                            <ui:insert name="sidebarTemplate"/>
                        </ul>
                    </div>    
                    <h2>
                        <a href="#">#{option}</a> &raquo; <a href="#" class="active">#{path}</a>
                    </h2>
                    <br/>
                    <div id="main">
                        <br/>
                        <ui:insert name="mainTemplate"/>
                        main template
                    </div>
                    <div class="clear">
                    </div>
                </div> 
            </div>
            <p id="footer"> #{i18n['farmcode.footer']}<a href="http://www.farmcode.net"></a></p>
        </div>
        <!-- // #wrapper -->
    </h:body>
    <!--     <h:outputStylesheet library="style" name="transdmin.css" />-->
</html>